#pragma once
#ifndef MAPNODE_H
#define MAPNODE_H

#include <cmath>

using namespace std;

class mapNode
{
public:
	mapNode(void);
	mapNode (int, int);
	~mapNode(void);

	int x,y;
	float gScore;      //Movement cost from start point
	float hScore;      //Heuristic measure
	float fScore;      //Sum of g & h scores
	mapNode * parent;  //Parent Node

	bool operator == (mapNode);

	//A* functions
	float heuristic(mapNode*,float);         // Current Heuristic - direct distance between point and goal
};
#endif /*mapNode_H */
